const runtime.userArenaChunkBytes
33 uses
runtime (current package)
arena.go#L191: userArenaChunkBytes = uintptr(int64(userArenaChunkBytesMax-heapArenaBytes)&(int64(userArenaChunkBytesMax-heapArenaBytes)>>63) + heapArenaBytes) // min(userArenaChunkBytesMax, heapArenaBytes)
arena.go#L194: userArenaChunkPages = userArenaChunkBytes / pageSize
arena.go#L200: userArenaChunkMaxAllocBytes = userArenaChunkBytes / 4
arena.go#L204: if userArenaChunkPages*pageSize != userArenaChunkBytes {
arena.go#L207: if userArenaChunkBytes%physPageSize != 0 {
arena.go#L210: if userArenaChunkBytes < heapArenaBytes {
arena.go#L211: if heapArenaBytes%userArenaChunkBytes != 0 {
arena.go#L215: if userArenaChunkBytes%heapArenaBytes != 0 {
arena.go#L646: deductAssistCredit(userArenaChunkBytes)
arena.go#L702: if rate != 1 && userArenaChunkBytes < c.nextSample {
arena.go#L703: c.nextSample -= userArenaChunkBytes
arena.go#L705: profilealloc(mp, unsafe.Pointer(span.base()), userArenaChunkBytes)
arena.go#L718: tracealloc(unsafe.Pointer(span.base()), userArenaChunkBytes, nil)
arena.go#L723: inittrace.bytes += uint64(userArenaChunkBytes)
arena.go#L761: if s.npages*pageSize != userArenaChunkBytes {
arena.go#L842: if s.npages*pageSize != userArenaChunkBytes {
arena.go#L915: v, size := h.sysAlloc(userArenaChunkBytes, hintList, false)
arena.go#L916: if size%userArenaChunkBytes != 0 {
arena.go#L919: if size > userArenaChunkBytes {
arena.go#L925: for i := uintptr(userArenaChunkBytes); i < size; i += userArenaChunkBytes {
arena.go#L930: size = userArenaChunkBytes
arena.go#L948: sysMap(unsafe.Pointer(base), userArenaChunkBytes, &gcController.heapReleased)
arena.go#L949: sysUsed(unsafe.Pointer(base), userArenaChunkBytes, userArenaChunkBytes)
arena.go#L957: gcController.heapInUse.add(int64(userArenaChunkBytes))
arena.go#L958: gcController.heapReleased.add(-int64(userArenaChunkBytes))
arena.go#L961: atomic.Xaddint64(&stats.inHeap, int64(userArenaChunkBytes))
arena.go#L962: atomic.Xaddint64(&stats.committed, int64(userArenaChunkBytes))
arena.go#L965: atomic.Xadd64(&stats.largeAlloc, int64(userArenaChunkBytes))
arena.go#L970: gcController.totalAlloc.Add(int64(userArenaChunkBytes))
arena.go#L973: gcController.update(int64(userArenaChunkBytes), 0)
arena.go#L978: s.limit = s.base() + userArenaChunkBytes
|
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |